package codeGeneration;

import java.util.ArrayList;
import java.util.List;

public class Event {

	private List<ControlRules> controlRuless;
	private String nameOfControl;
	
	public Event() {
		controlRuless = new ArrayList<ControlRules>();
	}

	public List<ControlRules> getControlRules() {
		return controlRuless;
	}

	public void setControlRules(List<ControlRules> controlRuless) {
		this.controlRuless = controlRuless;
	}

	public void addControlRules(ControlRules controlRules) {
		controlRuless.add(controlRules);
	}

	public String getNameOfControl() {
		return nameOfControl;
	}

	public void setNameOfControl(String nameOfControl) {
		this.nameOfControl = nameOfControl;
	}
}
